package cn.kgc.service;

import cn.kgc.entity.Emp;

import java.util.List;


public interface EmpService {
    public List<Emp> getAllEmp(Integer pageNo, Integer pageSize);
    public Emp getEmpById(Integer id);
    public void addEmp(Emp emp);
    public void updateEmp(Emp emp);
    public void deleteEmpById(Integer id);

    Integer countEmpByName(String name);

    Integer countEmp();
}
